/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pagoda.util;

/**
 *
 * @author Kevin Krohe
 */
public class ConvertUtil {

    public static <T> boolean TryConvertOrCast(Object in, T out)
    {

        if(out instanceof String)
        {
            out = (T)in.toString();
            return true;
        }

        return false;
    }

}
